package com.sojpt.boot;

import java.util.Enumeration;

import javax.servlet.FilterConfig;
import javax.servlet.ServletContext;

public class SoJptFilterConfig implements FilterConfig{

	private ServletContext servletContext;
	
	private String initParameter;
	
	private String filterName;
	
	Enumeration<String> initParameterNames;
	
	public SoJptFilterConfig(ServletContext servletContext) {
		this.servletContext = servletContext;
	}
	
	public SoJptFilterConfig(ServletContext servletContext, String initParameter, String filterName,
			Enumeration<String> initParameterNames) {
		this.servletContext = servletContext;
		this.initParameter = initParameter;
		this.filterName = filterName;
		this.initParameterNames = initParameterNames;
	}

	@Override
	public String getFilterName() {
		// TODO Auto-generated method stub
		return this.filterName;
	}

	@Override
	public ServletContext getServletContext() {
		// TODO Auto-generated method stub
		return this.servletContext;
	}

	@Override
	public String getInitParameter(String name) {
		// TODO Auto-generated method stub
		return this.initParameter;
	}

	@Override
	public Enumeration<String> getInitParameterNames() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getInitParameter() {
		return initParameter;
	}

	public void setInitParameter(String initParameter) {
		this.initParameter = initParameter;
	}

	public void setServletContext(ServletContext servletContext) {
		this.servletContext = servletContext;
	}

	public void setFilterName(String filterName) {
		this.filterName = filterName;
	}

	public void setInitParameterNames(Enumeration<String> initParameterNames) {
		this.initParameterNames = initParameterNames;
	}
	
	

}
